* {
	padding:0;
	margin:0;
}

body {
	text-align: center;
	background: url(../images/greenbg.png);
	color: #fff;
	font-family: myriad pro;	
}
#gameStats{
	background: #001711;
	width: 780px;
	margin: 20px auto 20px;
	display: block;
	-moz-box-shadow: 0px 3px 8px #000;
	box-shadow: 0px 3px 8px #000;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 10px;
	overflow: auto;
}

#gameStats p#timer{
	width: 200px;
	float: left;
	text-align: left;
	font-family: myriad pro;
	padding: 0 0 0 10px;
}
#gameStats p#reset{
	width: 200px;
	float: right;
	text-align: right;
	padding: 0 10px 0 0;
	}

#gameStats .gameReset{
	width: 200px;
	float: right;
	text-align: right;
	font-family: myriad pro;
	padding: 0 10px 0 0;
	color: #fff;
	text-decoration:none;
	display:block;
}

#game {
	background: #001711;
	width: 620px;
	height: 470px;
	margin: 0 auto;
	display: block;
	-moz-box-shadow: 0px 3px 12px #000;
	-webkit-box-shadow: 0px 3px 12px #000;
	box-shadow: 0px 3px 12px #000;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 20px;
}

#cards {
	position: relative;
	width: 560px;
	height: 500px;
	display: none;
}
/* Define the 3D perspective view and dimension of each card. */
.card {
	-webkit-perspective: 600;
	width: 109px;
	height: 145px;
	position: absolute;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
	cursor: pointer;
}

#gameIntro {
	background:url(../images/startpage.png) top center no-repeat;
	padding: 80px 0;
	text-align: center;
	height: 330px;
}

#gameIntro a.button {
	background: white;
	border-radius: 5px;
	display: block;
	font-size: 30px;
	margin: 230px auto 0;
	padding: 10px;
	width: 150px;
	border: 3px solid #006438;
	color:#006438;
	text-decoration:none;
}

#gameIntro a.button:hover {
	background: #006438;
	color:#fff;
	text-decoration:none;
}


/* #gameComplete {
	background:url(../images/endpage.png) top left no-repeat;
	padding: 80px 0;
	text-align: center; 
	height: 330px;
}

#gameComplete a.button {
	background: white;
	border-radius: 5px;
	display: block;
	font-size: 30px;
	margin: 30px auto 0;
	padding: 10px;
	width: 150px;
	border: 5px solid #006438;
	color:#006438;
	text-decoration:none;
}

#gameComplete p#top {
	margin: 160px 0 0;
	font-size: 25px;
	color:#006438;
}

#gameComplete a.button:hover {
	background: #006438;
	color:#fff;
	text-decoration:none;
} */

.face {
	width: 100%;
	height: 100%;
	position: absolute;
	-webkit-transition-property: opacity, transform, box-shadow;
	-webkit-transition-duration: .3s;
	-webkit-backface-visibility: hidden;
}

.front {
	background: url(../images/deck.jpg) 0 -146px;
	z-index: 10;
}
.back {
	background: #efefef url(../images/deck.jpg);
	-webkit-transform: rotate3d(0,1,0,-180deg);
	z-index: 8;
}
.card:hover .face, .card-flipped .face {
	-webkit-box-shadow: 0 0 10px #aaa;
}
.card-flipped .front {
	-webkit-transform: rotate3d(0,1,0,180deg);
	z-index: 8;
}
.card-flipped .back {
	-webkit-transform: rotate3d(0,1,0,0deg);
	z-index: 10;
}
.card-removed {
	opacity: 0;
}

.blueDino {background-position: 0 0;}
.brownDino {background-position: -110px 0;}
.redDino {background-position: -220px 0;}
.greenDino {background-position: -330px 0;}
.purpDino {background-position: -440px 0;}
.burgDino {background-position: -550px 0;}
.orangeDino {background-position: -660px 0;}
.purp2Dino {background-position: -770px 0;}
.pinkDino {background-position: -880px 0;}


#linkBack a.button {
	background: white;
	border-radius: 5px;
	display: block;
	font-size: 30px;
	margin: 30px auto 0;
	padding: 10px;
	width: 250px;
	border: 3px solid #006438;
	color:#006438;
	text-decoration:none;
}

#linkBack a.button:hover {
	background: #006438;
	color:#fff;
	text-decoration:none;
}

#gameComplete {
	font-family: 'Orbitron', serif;
	font-size: 28px;
	font-weight: 700;	  
	text-shadow: 0px 1px 2px #fff;
	
	color: #222;
	
	position: absolute;	  
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	
	background: rgba(0,0,0,.5);
	
	display: -webkit-box;
	-webkit-box-pack: center;
	-webkit-box-align: center;			
	
	-webkit-transition: all .5s ease-in;
}

#gameComplete h1 {
	font-weight: 400;
}

#gameComplete-box {
	width: 760px;
	height: 470px;
	background: #ccc url(../images/endPage.png);

	border-radius: 10px;
	
	-webkit-box-shadow: 0 5px 5px #333;
	
	display: -webkit-box;
	-webkit-box-pack: center;
	-webkit-box-align: center;
	
	-webkit-transition: all .5s ease-in;
}

#gameComplete-box small {
	font-size: .6em;
}

#gameComplete-box  a.button {
	background: white;
	border-radius: 5px;
	display: block;
	font-size: 30px;
	margin: 30px auto 0;
	padding: 10px;
	width: 150px;
	border: 5px solid #006438;
	color:#006438;
	text-decoration:none;
}

#gameComplete-box .gameReset{
	width: 200px;
	float: right;
	text-align: center;
	font-family: myriad pro;

	padding: 0 10px 0 0;
	color: #fff;
	text-decoration:none;
	display:block;
}
#gameComplete-box  a.button:hover {
	background: #006438;
	color:#fff;
	text-decoration:none;
}

#gameComplete-box p#top {
	margin: 65px 0 0;
	font-size: 25px;
	color:#006438;
}


/**
 * Styles to hide the popup box
 */
#gameComplete.hide {
	background: rgba(0,0,0,0);
	visibility: hidden;		
}
#gameComplete.hide #gameComplete-box{
	margin-top: -800px;
}

